package cn.e4j.modular.api.service;


import cn.e4j.core.dto.impl.Dto;
import cn.e4j.core.util.InvokeUtil;
import cn.e4j.modular.api.mapper.BbJcmydMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class BbJcmydService {

    @Autowired
    BbJcmydMapper bbJcmydMapper;

    @Transactional(readOnly = true)
    public List<Dto> getListData(Dto inDto) {
        //return bbJcmydMapper.getListData(inDto);
        return InvokeUtil.invokeBeanMethod2("cn.e4j.modular.api.mapper.bbJcmydMapper.getListData", inDto);
    }

    /*@Transactional(readOnly = true)
    public List<Dto> getTypeListData(Dto inDto) {
        return bbJcmydMapper.getTypeListData(inDto);
    }*/
}
